You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVecInt Class > TMtxVecInt Methods > BitShift Method > TMtxVecInt.BitShift Method ([In] TMtxVecInt, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVecInt.BitShift Method ([In] TMtxVecInt, int, int, int, int)

Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src.

Syntax
C#
Visual Basic
public TMtxVecInt BitShift([In] TMtxVecInt Src, int Bits, int SrcIndex, int Index, int Len);

the result of binary shift to the left or right by number of Bits applied to Src values [SrcIndex]..[SrcIndex+Len-1] and stored in the calling object (Self) value [Index]..[Index+Len-1]. The sign of the numbers is preserved when doing right shift.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!